Main();
public class Rolo
{
    public int hp;
    public int attack;
    public int sweet;
    public string name;

    public Rolo()
    {

    }

    public Rolo(string _name, int _hp, int _attack, int _sweet)
    {
        hp = _hp;
        attack = _attack;
        sweet = _sweet;
        name=_name;
    }

    public void BeHet(int cost, int mSweet)
    {
        /* hp -= cost;
        if (hp <= 0)
        {
            hp = 0;
        }*/

        for (int i = 1; i <= mSweet; i++)
        {
            hp -= cost;
            if (hp <= 0)
            {
                hp = 0;
                Console.WriteLine("{0}:hp={1}", name, hp);
                break;
            }
            else
            {
                Console.WriteLine("{0}:hp={1}", name, hp);
            }
        }
    }



}

public void Main()
{

    Rolo A = new Rolo("A", 100, 11, 2);
    Rolo B = new Rolo("B", 50, 5, 1);
     Console.WriteLine("{0}:hp={1}", A.name, A.hp);
     Console.WriteLine("{0}:hp={1}", B.name, B.hp);
    int n = 0;
    /* while (true)
    {
        n++;
        Console.WriteLine("Round :{0}", n);
        A.BeHet(B.attack);
        Console.WriteLine("A:hp={0}", A.hp);

        for (int i = 1; i <= A.sweet; i++)
        {
            B.BeHet(A.attack);
            Console.WriteLine("B:hp={0}", B.hp);
            if (B.hp <= 0 || A.hp <= 0)
            {
                break;
            }

        }
        if (B.hp <= 0 || A.hp <= 0)
        {
            break;
        }


    } */
   
    while (true)
    {
        n++;
        Console.WriteLine("Round :{0}", n);
        if (A.sweet >= B.sweet)
        {
            B.BeHet(A.attack, A.sweet);
            A.BeHet(B.attack, B.sweet);
        }
        else
        {
            A.BeHet(B.attack, B.sweet);
            B.BeHet(A.attack, A.sweet);
        }
        if(A.hp<=0){
            break;
        }
        if(B.hp<=0){
            break;
        }
    }


    if (B.hp <= 0 )
    {
        Console.WriteLine("AA Win");
    }
    else
    {
        Console.WriteLine("BB");
    }


}



